package example;

class MyRunnable implements Runnable{

    @Override
    public void run() {
        System.out.println("1");
    }
}
public class Example7 {
    public static void main(String[] args) {
        MyRunnable myRunnable1 = new MyRunnable();
        MyRunnable myRunnable2 = null;
        Thread t1 = new Thread(myRunnable1);
        t1.start();
        Thread t2 = new Thread(myRunnable2);
        t2.start();
    }
}
